package domain;

public class Products {

  private int pid;
  private String pname;
  private int pnum;
  private int ptype;

  public Products(int pid, String pname, String pnum, String ptype) {

  }

  public Products(int pid, String pname, int pnum, int ptype) {
    this.pid = pid;
    this.pname = pname;
    this.pnum = pnum;
    this.ptype = ptype;
  }

  public int getPid() {
    return pid;
  }

  public void setPid(int pid) {
    this.pid = pid;
  }


  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }


  public int getPnum() {
    return pnum;
  }

  public void setPnum(int pnum) {
    this.pnum = pnum;
  }


  public int getPtype() {
    return ptype;
  }

  public void setPtype(int ptype) {
    this.ptype = ptype;
  }

}
